package me.helllp.dake.iam.core.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import me.helllp.dake.core.base.BasePo;

/**
 * <p>
 * 
 * </p>
 *
 * @author dake
 * @since 2022-12-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class DakeUser extends BasePo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 标识
     */
    @TableId(value = "ID", type = IdType.INPUT)
    private Long id;

    /**
     * 名称
     */
    @TableField("USER_NAME")
    private String userName;

    /**
     * 租户ID
     */
    @TableField("TENANT_ID")
    private Long tenantId;

    /**
     * 邮箱
     */
    @TableField("USER_EMAIL")
    private String userEmail;

    /**
     * 电话
     */
    @TableField("USER_PHONE")
    private String userPhone;

    /**
     * 年龄
     */
    @TableField("AGE")
    private Integer age;

    /**
     * 0:表示男；1:表示女
     */
    @TableField("SEX")
    private Boolean sex;
}
